import { Observable,from } from 'rxjs';

const arr = ['Jerry', 'Anna', 2016, 2017, '30 days'] 
const observable:Observable<any> = from(arr);

observable.subscribe(
  {
    next:(value:any) => {
      console.log('[2]###next###');
      console.log(typeof(value));
      console.log(value);
    },
    complete:() => {
      console.log('[2]###complete###');
    },
    error:(error:any) => {
      console.log('[2]###error###');
      console.log(error);
    }
  }
);